package com.liu.user.dao;

import com.liu.user.entity.User;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

public interface UserDao extends JpaSpecificationExecutor<User> , JpaRepository<User,String> {

     User findByName(String userName);
}
